package com.book.common.result;

import java.io.Serializable;

/**
 * Description：
 * @Author： leo.xiong
 * @CreateDate： 2020/4/2 14:38
 * @Email： leo.xiong@suyun360.com
 * Version：1.0
 */
public class Failed extends RestResponse implements Serializable {
    private static final long serialVersionUID = 7270557965082450964L;

    public Failed() {
        super();
        this.result = false;
        this.errorCode = "-1";
    }

    public Failed(String errorMsg) {
        super();
        this.result = false;
        this.errorCode = "-1";
        this.errorMsg = errorMsg;
    }

    public Failed(String errorCode, String errorMsg) {
        super();
        this.result = false;
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
}

